package com.hbu.product.hbumallproduct.vo;

import com.hbu.product.hbumallproduct.entity.BrandEntity;
import lombok.Data;

/**
 * @ProjectName: hbu-mall
 * @Package: com.hbu.product.hbumallproduct.vo
 * @ClassName: BrandListVO
 * @Author: zxh
 * @Description:
 * @Date: 2022/11/26 20:08
 * @Version: 1.0
 */
@Data
public class BrandListVO {

    private Long brandId;

    private String brandName;

    public BrandListVO(BrandEntity brand){
        this.brandId = brand.getBrandId();
        this.brandName = brand.getName();
    }

}
